package com.learner.pojo.user;

import lombok.Data;
import lombok.ToString;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * @author linweibing
 * @date 2023-03-23 21:16
 * @description: TODO
 */
@Data
@ToString
@Entity
@Table(name = "admin_users")
public class SystemUser implements Serializable {

    @Id
    private String uid;

    private String username;

    private String password;

    private Integer sex;

    private Boolean isRootAuthority;

    private Integer status;

    private Integer roleId;

    private Date createdTime;
}
